package cn.ms.doctor.Service;

import cn.ms.doctor.Entity.Dept;
import cn.ms.doctor.Entity.Role;
import cn.ms.doctor.Mapper.RoleMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {
    @Resource
    RoleMapper roleMapper;


    @Override
    public List<Role> getRoles() {
        return roleMapper.getRoles();
    }
}
